body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
}

.carrusel {
    position: relative;
    width: 75%;
	margin-bottom:10%;
    overflow: hidden;
	left: 10%;
}

.carrusel-ficha1 {
    width: 25%; /* Mantiene el ancho definido */
	display: flex; /* Asegura que el contenido se alinee */
    align-items: center; /* Centra verticalmente el contenido dentro del carrusel */
    max-height: 90%; /* Limita la altura al contenedor */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    overflow: hidden; /* Oculta el contenido que se desborde */
}

.imagenes {
    display: flex;
    transition: transform 0.5s ease;
}

.imagenes img {
    width: 100%;
    height: auto;
}

button {
    position: absolute;
    top: 50%;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 100;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}


.hide-nav {
    display: none;
}

/* Estilos del modal */
        .modal {
			display: none; /* Ocultamos el modal por defecto */
			position: fixed;
			top: 0;
			left: 0;
			width: 100%;
			height: 100%;
			background-color: rgba(0, 0, 0, 0.8);
			justify-content: center;
			align-items: center;
			z-index: 1000; /* Asegura que el modal esté por encima de todo */
        }

        .modal-content {
            width: 80%;
            margin: auto;
        }

        .modal img {
            width: 100%;
            height: auto;
        }

        .close {
            position: absolute;
            top: 20px;
            right: 20px;
            color: white;
            font-size: 30px;
            font-weight: bold;
            cursor: pointer;
        }